package com.central.scheduler.plugin.registry.zookeeper;


import com.central.scheduler.spi.register.Registry;
import com.central.scheduler.spi.register.RegistryFactory;

/**
 * @author Tindy
 * @date 2021/10/29
 * @describe
 */
public class ZookeeperRegistryFactory implements RegistryFactory {

    @Override
    public String getName() {
        return "zookeeper";
    }

    @Override
    public Registry create() {
        return new ZookeeperRegistry();
    }
}
